<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>

	<title>修改</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="/study/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet"> 
   	  <script src="/study/Public/bootstrap/js/jquery.min.js"></script>
      <script src="/study/Public/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div style="margin-left: 400px;"><h1>修改用户</h1></div>

<form class="form-horizontal" role="form" action="activityUpdate" method="post"  enctype="multipart/form-data">
    <div class="form-group ">
         <label for="exampleInputEmail1" class="col-md-2 control-label">社团名称： </label>
            <div class="col-md-2">
                <select class="form-control" name="group_id">

                    <?php if(is_array($findGroups)): $i = 0; $__LIST__ = $findGroups;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["id"]); ?>"><?php echo ($vo["groupname"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
                </select>
            </div>
            </div>

    <?php if(is_array($aa)): $k = 0; $__LIST__ = $aa;if( count($__LIST__)==0 ) : echo "暂时没有数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><input type="hidden" name="aid" value="<?php echo ($vo["aid"]); ?>"></input>
 
    <div class="form-group ">
        <label for="username" class="col-md-2 control-label">活动名称：</label>
        <div class="col-md-5">
            <input type="text" class="form-control" id="username" name="name"  value="<?php echo ($vo["name"]); ?>">
        </div>
    </div>
     
        <div class="form-group">
        <label for="image" class="col-md-2 control-label">负责人</label>
        <div class="col-md-3">
        <input type="text" class="form-control" id="username" name="leader" value="<?php echo ($vo["leader"]); ?>">
            
        </div>
    </div>
    <div class="form-group">
        <label for="image" class="col-md-2 control-label">活动时间</label>
        <div class="col-md-3">

            <input type="date" class="form-control" id="username" name="ptime" value="<?php echo ($vo["ptime"]); ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="pass"class="col-md-2 control-label">活动地点</label>
        <div class="col-md-5">
            <input type="text" class=" form-control " id="pass" name="place"  value="<?php echo ($vo["place"]); ?>">
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="col-md-2 control-label">介绍 </label>
        <div class="col-md-5">
            <textarea class="form-control" id="email" name="intros" placeholder ="<?php echo ($vo["intros"]); ?>" ></textarea> 
        </div>
    </div>
    <div class="form-group">
        <label for="text" class="col-md-2 control-label">携带文件 </label>
        <div class="col-md-5">
            <input class="form-control" id="email" name="pfile" value="<?php echo ($vo["pfile"]); ?>" >
        </div>
    </div>
    <div class="form-group">
        <label for="text" class="col-md-2 control-label">注意事项 </label>
        <div class="col-md-5">
            <input class="form-control" id="email" name="matters" value="<?php echo ($vo["matters"]); ?>" ></input>
        </div>
    </div>
  
    
    


    <div class="form-group">
        
    <div class="col-md-2 col-md-offset-3">
        <button type="submit" class="btn btn-default">修改</button>
    </div><?php endforeach; endif; else: echo "暂时没有数据" ;endif; ?>
</form>


</body>
</html>